package service.applycheck;

import java.util.List;

import model.creditcheck.Applystate;

public interface ApplyCheckService {
	
	public Applystate save(Applystate applystate) throws Exception;
	
	public void saveAllByRole(Integer applyid, Integer roleid, String checkType) throws Exception;
	
	public void saveAllByManagerId(Integer applyid, Integer managerid, String checkType, Integer applytype) throws Exception;
	
	public List<?> findApplyStateByApplyId(Integer applyid);
	
	public List<Applystate> getOneApplyStateByIdAndType(Integer id, String type);
	
	public int isHaveFP(Integer applyid);
	
	public int checkApplyState(Integer applyid);
	
	/*回退状态的检查*/
	public int getBackStateCheck(Integer applyid);

}
